var wechart=require(process.cwd()+'/server/controller/messageFromWeChart.js');

module.exports.setRoutes=function(app){
	app.get('/wechart',function(req,res){	
		wechart.handleGet(req,res);
	});
	app.post('/wechart',function(req,res){	
		wechart.handleData(req,res);
	});
	/*app.get('/wechartData',function(req,res){
		wechart.getData(req,res);
	});
	app.post('/wechartData',function(req,res){
		wechart.writeData(req,res);
	});*/
}